import request from "@/apis/request.js";
import url from "@/apis/urlconst.js";

export const create_message = (data) => {
    return request({
        url: url.v1.createMessage_url.url,
        method: url.v1.createMessage_url.method,
        data,
    });
};

export const list_message = () => {
    return request({
        url: url.v1.getMessage_url.url,
        method: url.v1.getMessage_url.method,
    });
};